<{if $newsadcodes.all}>
<{$newsadcodes.all}>
<{elseif $newsadcodes.article}>
<{$newsadcodes.article}>
<{/if}>
<br />
<{if $newsshowlogo}>
<div align="center"><{$newslogoimage}></div><br />
<{/if}>
<{if $newsshowsearch}>
<div align="center">
<form action="<{$xoops_url}>/search.php" method="get">
<input type="text" id="query" name="query" size="30" maxlength="255" value="" />
<select id="andor" name="andor" size="1">
<option value="AND" selected="selected"><{$lang_all}></option>
<option value="OR"><{$lang_any}></option>
<option value="exact"><{$lang_exact}></option>
</select>
<input type="hidden" name="mids[]" value="<{$module_id}>" />
<input type="hidden" id="action" name="action" value="results" />
<input type="submit" class="formButton" name="submit" id="submit" value="<{$lang_search}>" />
</form>
</div>
<{/if}>
<br />
<{if $catarray.toolbar}>
<div align="center"><{$catarray.toolbar}></div><br />
<{/if}>

<table cellspacing="0" width="100%">
  <tr>
   <td align="left">
<{if $displaynav == true}>
    <form name="form1" action="index.php" method="get">
    <b><{$lang_topicnav}></b><{$topic_select}><input type="submit" value="<{$lang_go}>" /></form>
<{/if}>
  </td>
   <td align="right">
<{if $newsshowthemechanger}>
	<form action="<{$xoops_requesturi}>" method="post">
	<b><{$lang_themechanger}></b><{$newsthemeoption}>
	</form>
<{/if}>
  </td>
  </tr>
  </table>
<div style="text-align: left; margin: 10px;"><{if
$pagenav}>Page <{$pagenav}><{/if}></div>

<div style="padding: 3px; margin-right:3px;">
<{include file="db:news_item.html" story=$story}>
</div>

<div style="text-align: left; margin: 10px;"><{if
$pagenav}>Page <{$pagenav}><{/if}></div>

<div style="padding: 5px; text-align: right; margin-right:3px;">
<{if $newsshowextrafunc == true}>
<{if $newsextrafuncprint == true}>
&nbsp;<a target="_blank" href="<{$news_weburl}>/print.php?storyid=<{$story.id}>"><img src='<{$news_imgurl}>/print.gif' border='0' alt='<{$lang_printerpage}>' title='<{$lang_printerpage}>' /></a>
<{/if}>
<{if $newsextrafuncpdf == true}>
&nbsp;<a target="_blank" href="<{$news_weburl}>/makepdf.php?storyid=<{$story.id}>"><img src='<{$news_imgurl}>/acrobat.gif' border='0' alt='<{$lang_pdf}>' title='<{$lang_pdf}>' /></a>
<{/if}>
<{if $newsextrafuncqrcode == true}>
&nbsp;<a target="_blank" href="<{$news_weburl}>/qrcode.php?storyid=<{$story.id}>"><img src='<{$news_imgurl}>/qrcode.gif' border='0' alt='<{$lang_qrcode}>' title='<{$lang_qrcode}>' /></a>
<{/if}>
<{if $newsextrafuncbookmark == true}>
&nbsp;<a target="_blank" href="<{$news_weburl}>/bookmark.php?storyid=<{$story.id}>"><img src='<{$news_imgurl}>/bookmark.gif' border='0' alt='<{$lang_bookmark}>' title='<{$lang_bookmark}>' /></a>
<{/if}>
<{if $newsextrafuncfriend == true}>
&nbsp;<a target="_top" href="<{$mail_link}>"><img src="<{$news_imgurl}>/friend.gif" border="0" alt="<{$lang_sendstory}>" title="<{$lang_sendstory}>" /></a>
<{/if}>
<{/if}>
</div>

<div style="text-align: left;">
<a href="javascript:mntoggleEffect('<{$news_imgurl}>', 'resizemncomblock', 'mncomsizeimage')"><img id="mncomsizeimage" src="<{$news_imgurl}>/minimize.gif" alt="<{$lang_minimizeblock}>" title="<{$lang_minimizeblock}>" /></a>
</div>
<div id="resizemncomblock" style="display: block;">
<{$moremetasearch}>
<br />
<{$morexoopssearch}>
<div style="text-align: center; padding: 3px; margin:3px;">
<{$commentsnav}>
<{$lang_notice}>
</div>
<div style="margin:3px; padding: 3px;">
<!-- start comments loop -->
<{if $comment_mode == "flat"}>
<{include file="db:system_comments_flat.html"}>
<{elseif $comment_mode == "thread"}>
<{include file="db:system_comments_thread.html"}>
<{elseif $comment_mode == "nest"}>
<{include file="db:system_comments_nest.html"}>
<{/if}>
<!-- end comments loop -->
</div>
</div>

<{include file='db:system_notification_select.html'}>
